import request from '@/utils/request'

// 请假申请
export function createOaLeaveClear(data) {
  return request({
    url: '/bpm/oa-leave-clear/create',
    method: 'post',
	data
  })
}

// 获取销假列表
export function getOaLeaveClearPage(data) {
  return request({
    url: '/bpm/oa-leave-clear/page',
    method: 'get',
	data
  })
}

// 获取销假详情
export function getOaLeaveClear(data) {
  return request({
    url: '/bpm/oa-leave-clear/get',
    method: 'get',
	data
  })
}

// getOaLeaveClearPage: async (params: any) => {
//     return await request.get({ url: `/bpm/oa-leave-clear/page`, params })
//   },